Simple_History\Simple_History D

Total Complexity 131
Dependencies 66
Dependents 12
Total lines 1,622
Lines of code 711
Logical lines of code 315
Comment lines 679
Methods 53
Properties 10

Methods 53

Method Rating Maintainability Complexity Lines of code
get_log_row_html_output()
C
26
18 183
is_on_our_own_pages()
A
54 14 19
get_loggers_that_user_can_read()
A
47 7 39
get_log_row_details_output()
S
55 7 19
get_log_row_plain_text_output()
S
54 6 21
clear_log_from_url_request()
S
54 4 22
__call()
S
56 4 18
get_instantiated_logger_by_slug()
S
63 4 11
get_instantiated_dropin_by_slug()
S
63 4 11
get_settings_tabs()
S
54 3 22
get_log_row_header_output()
S
64 4 9
get_log_row_sender_image_output()
S
64 4 9
get_num_events_per_day_last_n_days()
S
52 2 28
get_num_events_last_n_days()
S
54 2 22
get_unique_events_for_days()
S
55 2 20
get_core_loggers()
S
50 1 32
get_service()
S
67 3 8
get_core_dropins()
S
55 1 21
get_services()
S
56 1 20
on_admin_head()
S
74 2 5
load_services()
S
74 2 5
init()
S
66 2 9
register_plugin_with_license()
S
66 2 8
on_admin_footer()
S
74 2 5
get_instance()
S
71 2 6
register_settings_tab()
S
61 1 14
clear_log()
S
59 1 14
get_instantiated_dropins()
S
82 1 3
set_instantiated_dropins()
S
81 1 3
set_instantiated_loggers()
S
81 1 3
get_instantiated_loggers()
S
82 1 3
get_events_table_name()
S
82 1 3
get_contexts_table_name()
S
82 1 3
__construct()
S
82 1 3
get_clear_history_interval()
S
70 1 6
register_logger()
S
80 1 3
load_service()
S
73 1 5
get_instantiated_services()
S
82 1 3
add_admin_actions()
S
75 1 4
setup_db_variables()
S
65 1 10
get_view_history_capability()
S
71 1 6
get_view_settings_capability()
S
71 1 6
user_can_clear_log()
S
79 1 3
register_dropin()
S
80 1 3
setting_show_as_page()
S
72 1 5
get_external_loggers()
S
82 1 3
get_external_dropins()
S
82 1 3
get_pager_size()
S
72 1 5
get_pager_size_dashboard()
S
70 1 6
filter_option_page_capability()
S
82 1 3
set_settings_tabs()
S
81 1 3
setting_show_on_dashboard()
S
72 1 5
does_database_have_data()
S
66 1 8